package com.xywl.escort.view.order.delivery;

import com.xywl.escort.base.BasePresenter;
import com.xywl.escort.base.BaseView;
import com.xywl.escort.bean.BaseResp;
import com.xywl.escort.bean.DeliveryOrderResp;
import com.xywl.escort.bean.ProjectDeliveryDetailResp;
import com.xywl.escort.bean.ProjectLogisticsResp;

public interface DeliveryDetailContract {

    interface Presenter extends BasePresenter {
        void takeView(DeliveryDetailContract.View view);

        void loadDetail(String id);

        void delete(String id);

        void remind(String id);

        void confirmReceipt(String id);
    }

    interface View extends BaseView<Presenter> {

        void loadSuccess(ProjectDeliveryDetailResp.DataBean dataBean);

        void loadFailure();

        void deleteSuccess(BaseResp resp);

        void deleteFailure(String msg);

        void remindSuccess(BaseResp resp);

        void remindFailure(String msg);

        void confirmReceiptSuccess(ProjectLogisticsResp.DataBean dataBean);

        void confirmReceiptFailure(String msg);
    }
}
